package org.example.postgraduateproject.Dao;

import org.example.postgraduateproject.entity.User;

import java.util.List;

/**
 * @author bin
 * @date 2025-05-11
 */
public interface UserDao {
    /**
     * 普通查询
     *
     * @return 用户列表
     */
    List<User> selectAllUser();

    User loginSelectPhone(String phone);

    User loginSelectEmail(String email);

    User loginSelectUserName(String userName);

    int regUser(User user);
}
